Skip to main content

CanvasOperationRotate

Type​

statement

Summary​

Apply a rotation to a canvas.

Syntax​

rotate <mCanvas> by <mRotation>

Description​

Rotates the transform of mCanvas by mRotation degrees.

Parameters​

NameTypeDescription

mRotation

An expression which evaluates to a number.

mCanvas

An expression which evaluates to a canvas.

Examples​

// Rotate the canvas
rotate this canvas by 45
Thank you for your feedback!

Was this page helpful?